<%@ page contentType="text/html; charset=utf-8" import="java.net.InetAddress,common.*,java.sql.*,db.*,java.util.*"%><%
String ent_id= (String)session.getAttribute("ent_id");
String search_gubun= request.getParameter("search_gubun")==null?"":request.getParameter("search_gubun");
String search_word = CommonUtil.nvl(request.getParameter("search_word"));
String search_flag =CommonUtil.nvl(request.getParameter("search_flag"));

String start_page = CommonUtil.nvl(request.getParameter("start_page"),"0");
String page_row =CommonUtil.nvl(request.getParameter("page_row"),"10");

String lastID =CommonUtil.nvl(request.getParameter("lastID"));

int lastint = Integer.parseInt(lastID) + 1;

Connection con=null;
ArrayList list =null;
ArrayList list2 =null;
HashMap userMap = new HashMap();
try {
	
	con = (new CommonConnect()).getConnection_ds1();
	String[] param=null;
	String[] param2=null;
	String queryStr ="";
	String queryStr2 = "";
//메인페이지의 리스트 내역을 가져온다.
	param= new String[6];
	param[0] = ent_id;
	param[1] = search_word;
	param[2] = search_gubun;
	param[3] = search_flag;
	param[4] = start_page;
	param[5] = page_row;
	
	queryStr = "call stu_edu1401List_mobile(?,?,?,?,?,?)";	
	list = DAO.select(con,queryStr,param);
	
	
	
	//System.out.println(list);
	
} catch (Exception e) {
	e.printStackTrace();
}finally {
	  try{
		  if (con!=null) con.close();
	  }catch(Exception ee){}
}
%><%if(list.size() > 0) {%>
		<!-- 
		<div class="wrdLatest" id=<%=lastint %> name=<%=lastint %>>
        <div data-role="content" >  
            <ul data-role="listview"  data-dividertheme="b"> 
         -->                                
                     
                    <%		
			                    for (int j=0; list!=null && list.size() > j; j++){
									HashMap map2 = (HashMap)list.get(j);
									
									
					%>
					<li><a href="javascript:go_class('<%= (String)map2.get("poi_cd")%>','<%= (String)map2.get("poi_nm") %>')"><%= (String)map2.get("poi_nm")%></a></li> 
					<%				
									}				
							
					%>    
                    
         <!--               
            </ul>  
         </div> 
         </div>
          -->
 <%}else{ %>null<%} %>        
